import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { SiteMonitorRoutingModule } from './site-monitor-routing.module';
import { SiteMonitorComponent } from './site-monitor.component';
import { SiteMonitorAddComponent } from './site-monitor-add/site-monitor-add.component';
import { SiteMonitorUpdateaComponent } from './site-monitor-updatea/site-monitor-updatea.component';

import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";
import {MonitorService} from "./monitor.service";
import { SiteDevicePollutantComponent } from './site-device-pollutant/site-device-pollutant.component';
import {DataDictionaryService} from "../../../services/dataDictionary.service";
import { MonitorAssignSiteComponent } from './monitor-assign-site/monitor-assign-site.component';
import {SitesService} from "../sites/sites.service";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule,
    SiteMonitorRoutingModule
  ],
  declarations: [
    SiteMonitorComponent,
    SiteMonitorAddComponent,
    SiteMonitorUpdateaComponent,
    SiteDevicePollutantComponent,
    MonitorAssignSiteComponent,
  ],
  providers: [
    MonitorService,
    SitesService,
    DataDictionaryService
  ]
})
export class SiteMonitorModule { }
